package com.pan.old.pa;

import org.openqa.selenium.edge.EdgeDriver;

public class MyDriver {
    private EdgeDriver edgeDriver;

    public MyDriver(EdgeDriver edgeDriver) {
        this.edgeDriver = edgeDriver;
    }

    public MyDriver() {
        edgeDriver = new EdgeDriver();
        edgeDriver.manage().window().minimize();
    }

    public EdgeDriver getEdgeDriver() {
        return edgeDriver;
    }

    public void setEdgeDriver(EdgeDriver edgeDriver) {
        this.edgeDriver = edgeDriver;
    }


}
